﻿using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Himall.Entity.Config
{
   public class AutoReplyInfoConfig : EntityTypeConfiguration<AutoReplyInfo>
    {
        public AutoReplyInfoConfig()
        {
            ToTable("Himall_AutoReply");
            Property(item => item.RuleName).HasColumnType("varchar").HasMaxLength(50);
            Property(item => item.Keyword).HasColumnType("varchar").HasMaxLength(50);
            Property(item => item.TextReply).HasColumnType("varchar").HasMaxLength(100);          
        }
    }
}
